﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Survey.Entity
{
    public class Question
    {
        public int Id { get; set; }
        // 问题描述
        public string Describe { get; set; }
        // 0 单选题 1 多选题 2 主观题
        public int Type { get; set; }
        // 所在问卷Id
        public int QuestionnaireId { get; set; }
        public virtual Questionnaire RefQuestionnaire { get; set; }
        // 选项集合 (主观题为空)
        public virtual ICollection<QuestionOption> QuestionOptionCollection { get; set; }
    }
}
